var status = -1;

function action(d, c, b) {
    status++;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.curNodeEventEnd(true);
            cm.eventSKill(0);
            cm.setInGameDirectionMode(true, true, true);
            cm.inGameDirectionEvent_SetHideEffect(1);
            cm.inGameDirectionEvent_PushMoveInfo(0, 100, -600, 0);
            cm.curNodeEventEnd(true)
        } else {
            if (status === a++) {
                cm.inGameDirectionEvent_AskAnswerTime(1000)
            } else {
                if (status === a++) {
                    cm.playerMessage(-1, "经过通道后，隐藏着的妖精森林就显露了出来。");
                    cm.inGameDirectionEvent_AskAnswerTime(3800)
                } else {
                    if (status === a++) {
                        cm.fieldEffect_ScreenMsg("temaD/enter/fairyAcademy");
                        cm.inGameDirectionEvent_AskAnswerTime(2800)
                    } else {
                        if (status === a++) {
                            if (cm.isQuestFinished(32104)) {
                                cm.warp(101070010, 0)
                            } else {
                                cm.warp(101070000, 0)
                            }
                            cm.inGameDirectionEvent_SetHideEffect(0);
                            cm.eventSKill(0);
                            cm.setInGameDirectionMode(false, true, false);
                            cm.dispose()
                        }
                    }
                }
            }
        }
    }
}

function start() {
    status = -1;
    action(1, 0, 0)
};